home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc / OpenDoc Development / Debugging Support / OpenDoc™ Source Code / Layout / FacetNod.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-08-28  |  1.8 KB  |  81 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        FacetNod.h
  3.  
  4.     Contains:    Definition of class FacetNode
  5.  
  6.     Written by:    Joshua Susser
  7.  
  8.     Copyright:    © 1992 - 1994 by Apple Computer, Inc., all rights reserved.
  9.  
  10.     Change History (most recent first):
  11.  
  12.          <1>     6/29/94    JBS        first checked in
  13.          <0>     6/29/94    SV        SOMverted
  14.          <2>     3/15/94    MB        Changes to support SCpp/ASLM builds,
  15.                                     #1150864.
  16.          <1>     3/11/94    JBS        first checked in
  17.          <3>      2/3/94    JA        Tiger Team Makeover!
  18.          <2>    11/12/93    JBS        use Facets
  19.          <1>     9/23/93    JBS        first checked in
  20. */
  21.  
  22. #ifndef _FACETNOD_
  23. #define _FACETNOD_
  24.  
  25. #ifndef _PLFMDEF_
  26. #include "PlfmDef.h"
  27. #endif
  28.  
  29. #ifndef _ODTYPES_
  30. #include <ODTypes.h>
  31. #endif
  32.  
  33. #ifndef _NODE_
  34. #include "Node.h"
  35. #endif
  36.  
  37. //==============================================================================
  38. // Theory of Operation
  39. //==============================================================================
  40.  
  41. /*
  42.  
  43. FacetNode-s stitch Facet-s together into a tree structure.  Each Facet has a 
  44. FacetNode which holds its place in the visible frame structure for the document.
  45.  
  46. */
  47.  
  48. //=====================================================================================
  49. // Classes defined in this interface
  50. //=====================================================================================
  51.  
  52. class FacetNode;
  53.  
  54. //=====================================================================================
  55. // Classes used by this interface
  56. //=====================================================================================
  57.  
  58. class Node;
  59. class ODFacet;
  60.  
  61. //=====================================================================================
  62. // FacetNode
  63. //=====================================================================================
  64.  
  65. class FacetNode : public Node
  66. {
  67.  
  68. public:
  69.     
  70.     FacetNode(ODFacet* facet);
  71.         
  72.     ODVMethod ~  FacetNode();
  73.     
  74.     ODVMethod ODFacet* GetFacet();
  75.  
  76. private:
  77.  
  78.     ODFacet* fFacet;
  79. };
  80.  
  81. #endif // _FACETNOD_